﻿using System.Windows.Input;
using ThePresenter.Properties;

namespace ThePresenter.Windows.Input
{
	/// <summary>
	/// Provides a set of application related commands.
	/// </summary>
	public static class GeneralCommands
	{
		#region Fields

		/// <summary>
		/// Gets the value that represents the OK command.
		/// </summary>
		/// <value>The command.</value>
		public static readonly RoutedUICommand OK = new RoutedUICommand(Resources.OK, "OK", typeof(GeneralCommands));

		/// <summary>
		/// Gets the value that represents the Cancel command.
		/// </summary>
		/// <value>The command.</value>
		public static readonly RoutedUICommand Cancel = new RoutedUICommand(Resources.Cancel, "Cancel", typeof(GeneralCommands));

		/// <summary>
		/// Gets the value that represents the Apply command.
		/// </summary>
		/// <value>The command.</value>
		public static readonly RoutedUICommand Apply = new RoutedUICommand("Apply", "Apply", typeof(GeneralCommands));

		/// <summary>
		/// Gets the value that represents the Save command.
		/// </summary>
		/// <value>The command.</value>
		public static readonly RoutedUICommand Save = new RoutedUICommand("Save", "Save", typeof(GeneralCommands));

		/// <summary>
		/// Gets the value that represents the New command.
		/// </summary>
		/// <value>The command.</value>
		public static readonly RoutedUICommand New = new RoutedUICommand("New", "New", typeof(GeneralCommands));

		/// <summary>
		/// Gets the value that represents the Edit command.
		/// </summary>
		/// <value>The command.</value>
		public static readonly RoutedUICommand Edit = new RoutedUICommand("Edit", "Edit", typeof(GeneralCommands));

		/// <summary>
		/// Gets the value that represents the Submit command.
		/// </summary>
		/// <value>The command.</value>
		public static readonly RoutedUICommand Submit = new RoutedUICommand("Submit", "Submit", typeof(GeneralCommands));

		/// <summary>
		/// Gets the value that represents the Delete command.
		/// </summary>
		/// <value>The command.</value>
		public static readonly RoutedUICommand Delete = new RoutedUICommand("Delete", "Delete", typeof(GeneralCommands));

		/// <summary>
		/// Gets the value that represents the Filter command.
		/// </summary>
		/// <value>The command.</value>
		public static readonly RoutedUICommand Filter = new RoutedUICommand("Filter", "Filter", typeof(GeneralCommands));

		/// <summary>
		/// Gets the value that represents the Search command.
		/// </summary>
		/// <value>The command.</value>
		public static readonly RoutedUICommand Search = new RoutedUICommand("Search", "Search", typeof(GeneralCommands));

		#endregion
	}
}
